package com.nowcoder.community.service;

import java.util.Date;

/**
 * @author bombax
 * @date 2024/10/3
 */
public interface DataService {
    void recordUV(String ip);

    long calculateUV(Date startDate, Date endDate);

    void recordDAU(int userId);

    long calculateDAU(Date startDate, Date endDate);
}
